export const weekList = [
  { value: '1', label: '周一' },
  { value: '2', label: '周二' },
  { value: '3', label: '周三' },
  { value: '4', label: '周四' },
  { value: '5', label: '周五' },
  { value: '6', label: '周六' },
  { value: '7', label: '周日' },
  { value: '8', label: '节假日' }
]
export const rules = {
  marketingType: [
    { required: true, message: '请选择政策类型', tigger: 'change' }
  ],
  marketingName: [
    { required: true, message: '请输入政策名称', tigger: 'blur' }
  ],
  fullDiscount: [
    { type: 'number', required: true, message: '请输入对应折扣', tigger: 'blur' }
  ],
  giveNum: [
    { required: true, message: '请输入赠送金额', tigger: 'blur' }
  ],
  discountNum: [
    { type: 'number', required: true, message: '请输入满减金额', tigger: 'blur' }
  ],
  isDouble: [
    { required: true, message: '请选择倍数叠加', tigger: 'blur' }
  ],
  orderTypes: [
    { required: true, message: '请选择订单类型', tigger: 'blur' }
  ],
  useTimes: [
    { required: true, message: '请选择销售时段', trigger: 'change' }
  ]
}

